package com.cn.demo.entity;

import com.fasterxml.jackson.annotation.JsonInclude;

import java.io.Serializable;

@JsonInclude(JsonInclude.Include.NON_NULL)
public class Internship implements Serializable {
    /**
     * 实习ID
     */
    private String internshipId;

    /**
     * 课程实习ID
     */
    private String curriculumInternshipId;

    /**
     *  学号
     */
    private String studentId;

    /**
     *实习单位
     */
    private String corporation;

    /**
     * 备注
     */
    private String remarks;

    private static final long serialVersionUID = 1L;

    public String getInternshipId() {
        return internshipId;
    }

    public void setInternshipId(String internshipId) {
        this.internshipId = internshipId == null ? null : internshipId.trim();
    }

    public String getCurriculumInternshipId() {
        return curriculumInternshipId;
    }

    public void setCurriculumInternshipId(String curriculumInternshipId) {
        this.curriculumInternshipId = curriculumInternshipId == null ? null : curriculumInternshipId.trim();
    }

    public String getStudentId() {
        return studentId;
    }

    public void setStudentId(String studentId) {
        this.studentId = studentId == null ? null : studentId.trim();
    }

    public String getCorporation() {
        return corporation;
    }

    public void setCorporation(String corporation) {
        this.corporation = corporation == null ? null : corporation.trim();
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks == null ? null : remarks.trim();
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", internshipId=").append(internshipId);
        sb.append(", curriculumInternshipId=").append(curriculumInternshipId);
        sb.append(", studentId=").append(studentId);
        sb.append(", corporation=").append(corporation);
        sb.append(", remarks=").append(remarks);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}